﻿
#if UNITY_IOS || UNITY_IPHONE

using HK.iOS.Editor.PostProcess.Data;

namespace HK.iOS.Editor.Data
{
    /// <summary>
    /// Pbx Build Scheme
    /// </summary>
    public sealed class PbxBuildScheme : PbxBuildElements<string>, IPbxBuildScheme
    {

#region Create

        public static IPbxBuildScheme Create(
            string iTargetGuid, string iDebug, string iRelease, 
            string iReleaseForProfiling, string iReleaseForRunning)
        {
            return new PbxBuildScheme()
            {
                TargetGuid = iTargetGuid, Debug = iDebug, Release = iRelease,
                ReleaseForProfiling = iReleaseForProfiling,
                ReleaseForRunning = iReleaseForRunning
            };
        }

#endregion

        /// <summary>
        /// 保护构造函数
        /// </summary>
        private PbxBuildScheme() {}
        
        /// <summary>
        /// 目标GUID
        /// </summary>
        public string TargetGuid { get; private set; } = null;
    }
}

#endif